const SvgIcon = ({ prefix = '#icon-', name, color = '', size = '16px' }: any) => {
  const width = size
  const height = size
  return (
    <div>
      <svg style={{ width, height }}>
        <use xlinkHref={prefix + name} fill={color} />
      </svg>
    </div>
  )
}

export default SvgIcon
